import url from "./api";
import http from "../axios/http";

export async function login(params: any) {
  //联盟页信息表格查询
  return http(url.LOGIN.login, "POST", params);
}

export async function validatecode(params: any) {
  return http(url.LOGIN.validatecode, "get", params);
}

export default {
  login,
  validatecode,
};
